package com.action;

import com.man.UserCtrl;
import com.std.User;

public class AdminUserDetailAction {
	private String username;
	private User user;
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String execute() {
		UserCtrl userCtrl=new UserCtrl();
		user=userCtrl.getItem(username);
		userCtrl.close();
		return "success";
	}
}
